//#ifndef VIDEORECORDER_H
//#define VIDEORECORDER_H

//#include <QWidget>
//#include <QCamera>
////#include <QCameraViewfinder>
//#include <QMediaRecorder>
//#include <QLineEdit>
//#include <QPushButton>
///*
//#include <opencv2/opencv.hpp>
//#include <opencv2/videoio.hpp>
//#include <chrono>
//#include <thread>
//#include <iostream>
//*/

//class VideoRecorder : public QWidget
//{
//    Q_OBJECT

//public:
//    explicit VideoRecorder(QWidget *parent = nullptr);
//    ~VideoRecorder();

//private:
//    QCamera *camera;
////    QCameraViewfinder *viewfinder;
//    QMediaRecorder *recorder;
//    QLineEdit *lineEdit;
//    QPushButton *startButton;
//    QPushButton *stopButton;

//private slots:
//    void startRecording();
//    void stopRecording();
//    void recordingFinished();
//};

//#endif // VIDEORECORDER_H
